<table>
  <tr><th colspan="3">Event Details:</th></tr>
  <tr><td>

      <strong><%= event.owner.username %></strong>

      <% if event.begin_date.today? %>
        is out <strong>today</strong>
      <% else %>

      will be out next on 

      <strong><%= event.begin_date.strftime("%A, %B") %></strong>

      the

      <strong><%= event.begin_date.day.to_s  +
        case event.begin_date.day
        when 1 then "st"
        when 2 then "nd"
        when 3 then "rd"
        else        "th"
        end %>
      </strong>

    <% end %>

    for 

    <strong>
    <%= 
      case event.duration_type
      when Event::PM        then "the afternoon"
      when Event::AM        then "the morning"
      when Event::FULL_DAY  then "the day"
      when Event::MULTI_DAY then pluralize(event.duration, "day")
      end %>
    </strong>
    
    for event: <strong><%= link_to event.name, event%></strong>
    </tr></td>

  </table>
